<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
		    <li class="active"><a href="{:U('Admin/NewsClass/index')}">新闻分类</a></li>
			<li><a href="{:U('Admin/NewsClass/add')}">添加新闻分类</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('Admin/NewsClass/add_post')}">
				<div class="control-group">
					<label class="control-label">名称：</label>
					<div class="controls">
						<input type="text" name="cN">
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">排序：</label>
					<div class="controls">
						<input type="text" name="sI" value="0">
					</div>
				</div>
	<!-- 			<div class="control-group">
						<label class="control-label">图片：</label>
						<ul id="photos" class="pic-list unstyled">
							<foreach name="smeta['photo']" item="vo">
							<li id="savedimage{$key}">
								<input type="text" name="photos_url[]" value="{:sp_get_asset_upload_path($vo['url'])}" title="双击查看" style="width: 310px;" ondblclick="image_priview(this.value);" class="input image-url-input"> 
								<input type="text" name="photos_alt[]" value="{$vo.alt}" style="width: 160px;" class="input image-alt-input" onfocus="if(this.value == this.defaultValue) this.value = ''" onblur="if(this.value.replace(' ','') == '') this.value = this.defaultValue;">
								<a href="javascript:flashupload('replace_albums_images', '图片替换','savedimage{$key}',replace_image,'10,gif|jpg|jpeg|png|bmp,0','','','')">替换</a>
								<a href="javascript:remove_div('savedimage{$key}')">移除</a>
							</li>
							</foreach>
						</ul>
					<a href="javascript:;" onclick="javascript:flashupload('albums_images', '图片上传','photos',change_images,'3,gif|jpg|jpeg|png|bmp,0','','','')" class="btn btn-small">选择图片</a>
				</div> -->
			<div class="form-actions" style="padding-left:260px;">
				<button type="submit" class="btn btn-primary  js-ajax-submit">保存</button>
				&nbsp;&nbsp;<a class="btn" href="{:U('Admin/NewsClass/index')}">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>
</body>
</html>